<!DOCTYPE html>
<html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>">
<head>
<meta charset="UTF-8" />
<title><?php echo $title; ?></title>
<base href="<?php echo $base; ?>" />
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?>
<?php if ($icon) { ?>
<link href="<?php echo $icon; ?>" rel="icon" />
<?php } ?>
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet_light.css" />
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/li-slider.css" />
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/skin.css" />
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/css.css" />
<?php foreach ($styles as $style) { ?>
<link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />
<?php } ?>
<script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" />
<script type="text/javascript" src="catalog/view/javascript/jquery/ui/external/jquery.cookie.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/colorbox/jquery.colorbox.js"></script>
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/colorbox/colorbox.css" media="screen" />
<script type="text/javascript" src="catalog/view/javascript/jquery/tabs.js"></script>
<script type="text/javascript" src="catalog/view/javascript/common.js"></script>
<?php foreach ($scripts as $script) { ?>
<script type="text/javascript" src="<?php echo $script; ?>"></script>
<?php } ?>
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie7.css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />
<script type="text/javascript" src="catalog/view/javascript/DD_belatedPNG_0.0.8a-min.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('#logo img');
</script>
<![endif]-->
<?php echo $google_analytics; ?>
</head>
<body>
<div id="container">
  <div id="sidefeatures">
  	<ul>
  		<li class="side_cart">
  			<span class="icon">Shopping Cart</span>
  			<?php echo $cart; ?>
  		</li>
  		<li class="side_currency">
  			<span class="icon">Currency</span>
  			<?php echo $currency; ?>
  		</li>
  		<li class="side_lang">
  			<span class="icon">Language</span>
  			<?php echo $language; ?>
  		</li>
  		<li class="side_search">
  			<span class="icon">Search</span>
  			<div id="search">
		    <div class="button-search"></div>
		    <?php if ($filter_name) { ?>
		    <input type="text" name="filter_name" value="<?php echo $filter_name; ?>" />
		    <?php } else { ?>
		    <input type="text" name="filter_name" value="<?php echo $text_search; ?>" onclick="this.value = '';" onkeydown="this.style.color = '#000000';" />
		    <?php } ?>
		  </div>
  		</li>
  	</ul>
  </div>  
  <div id="header">
	  <div class="inner">
	  	<ul class="main_menu menu_left">
	  	  <li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>	  	  
	  	  <li><a>Information</a></li>
	  	  <li><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a></li>
	  	</ul>
	  	<?php if ($logo) { ?>
	  	<div id="logo"><a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a></div>
	  	<?php } ?>
	  	<ul class="main_menu menu_right">
	  	  <li><a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a></li>
	  	  <li><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></li>
	  	  <li><a>Contact Us</a></li>
	  	</ul>
		<div style="clear: both;"></div>
	  </div>
  </div>
  <div id="notification"></div>
